<script setup>

const emits = defineEmits(['search'])

const searchData = defineModel('searchData');

</script>

<template>
  <el-form inline>
    <el-form-item label="昵称">
      <el-input clearable v-model="searchData.nickname"/>
    </el-form-item>
    <el-form-item>
      <el-button theme @click="emits('search')">
        搜索
        <template #icon><search/></template>
      </el-button>
    </el-form-item>
  </el-form>
</template>

<style scoped lang="scss">

</style>